package com.learn.eventbus;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.widget.Button;

import com.learn.eventbus.annotation.BindView;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity  {

    @BindView(R.id.btn_write)
    Button btn_write;

    @BindView(R.id.btn_read)
    Button btn_read;

    @SuppressLint("NewApi")
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
        btn_write.setText("???????");
    }

}
